﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Untitled Document</title>
<link href="<%=path%>/css/style_main.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/BackStyle.css" rel="stylesheet" type="text/css" />
<script  src="<%=path%>/js/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
	function addContent()
	{
		var v = $("#xiaolv").val();
		var t = $("select[name=xiaolv] option[selected]").text();
		
		$("#xiaolvs").append(t+"\t");
	}
	function dealContent()
	{
		$("#xiaolvs").html("");
	}

</script>
</head>

<body>
<form action="" method="get">
<div class="box">
  <div class="sel">指标选择</div>
  <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#8ECAEB" 
            border="0">
    <tbody>
      <tr bgcolor="#e2e0d3">
        <td bgcolor="#8ECAEB"><table cellspacing="1" cellpadding="3" width="100%" bgcolor="#8ECAEB" 
            border="0">
            <tbody>

              <tr bgcolor="#f8f7f2">
                <td bgcolor="#FFFFFF" class="s19"><select name="xiaolv" class="s8" id="xiaolv" style="width:100px;">
                  <option selected value="1">开机率</option>
                  <option value="2">利用率</option>
                </select>
                </td>
              </tr>
              <tr bgcolor="#f8f7f2">
                <td bgcolor="#FFFFFF" class="s19"><textarea name="xiaolvs" cols="20" rows="5" class="s8" id="xiaolvs"></textarea></td>
              </tr>
            </tbody>
          </table>
            <table cellspacing="5" cellpadding="0" width="100%" border="0" bgcolor="#DAEDF8">
              <tbody>
                <tr >
                  <td align="center"><img src="<%=path%>/img/table/add.gif" alt="" width="60" height="20" border="0" style="cursor:hand" onclick="addContent();" /><img src="<%=path%>/img/table/delete.gif" alt="" width="60" height="20" border="0" style="cursor:hand" onclick="dealContent();" /></td>
                </tr>
              </tbody>
          </table></td>
      </tr>
      <tr bgcolor="#e2e0d3">
        <td height="1" bgcolor="#8ECAEB"></td>
      </tr>
    </tbody>
  </table>
</div>
</form>
</body>
</html>
